package com.xuyoupeng.springframework.beans.factory.config;

import com.xuyoupeng.springframework.beans.factory.HierarchicalBeanFactory;
import com.xuyoupeng.springframework.util.StringValueResolver;

/**
 * @author xuyoupneg
 * @description TODO
 * @date 2024/3/20 20:46
 */
public interface ConfigurableBeanFactory extends HierarchicalBeanFactory, SingletonBeanRegistry {

    String SCOPE_SIGNLETON = "singleton";
    String SCOPE_PROTOTYPE = "prototype";

    void addBeanPostProcessor(BeanPostProcessor beanPostProcessor);

    String resolveEmbeddedValue(String value);

    void addEmbeddedValueResolver(StringValueResolver valueResolver);
}
